Input for WinForms | ComponentOne
C1.Win.Input.Base.Views Namespace / InputTextBoxElementBase<T> Class / RescaleConstantsForDpi Method
The DPI value prior to the change.
The DPI value after the change.

In This Topic
    RescaleConstantsForDpi Method (InputTextBoxElementBase<T>)
    In This Topic
    Provides constants for rescaling the C1.Framework.Element when a DPI change occurs.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub RescaleConstantsForDpi( _
       ByVal deviceDpiOld As Integer, _
       ByVal deviceDpiNew As Integer _
    ) 
    protected virtual void RescaleConstantsForDpi( 
       int deviceDpiOld,
       int deviceDpiNew
    )

    Parameters

    deviceDpiOld
    The DPI value prior to the change.
    deviceDpiNew
    The DPI value after the change.
    See Also